package com.sywb.chuangyebao.contract;

import android.widget.ImageView;
import com.sywb.chuangyebao.utils.GlideUtils;

import org.bining.footstone.mvp.IView;
import org.bining.footstone.presenter.BasePresenter;

public interface InsertDialogContract  {
    interface InsertDialogView extends IView{
        ImageView getImageView();
    }

    class InsertDialogPresenter extends BasePresenter<InsertDialogView>{
        private ImageView insertIv;
        @Override
        public void onStart() {
            insertIv = mView.getImageView();
            GlideUtils.getNormalIamgeToUrl(mActivity,"https://img03.sogoucdn.com/app/a/100520024/c5c2a139ba2d3f0fc8d1b1b118cd87d9",insertIv);
        }
    }
}
